@media screen and (min-width: 1401px) {
  .container {
    display: flex;
    padding: 50px 0;
  }

  .left-nav {
    margin-right: 40px;
    .title {
      background-color: #0065b3;
      color: white;
      height: 54px;
      width: 350px;
      line-height: 54px;
      text-align: center;
      font-size: 30px;
      font-weight: bold;
    }
  }
}


.class {
  &-list {
    padding: 15px 20px;
    i {
      height: 20px;
      width: 20px;
      background-color: #D1D1D1;
      border-radius: 20px;
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
    }
  }
  &-item {
    background-color: #F5F5F5;
    border: 1px solid #eaeaea;
    &.active {
      .class-sub {
        max-height: 150px;
      }
      i {
        transform: rotate(90deg);
      }
    }
    + .class-item {
      margin-top: 5px;
    }
  }
  &-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 50px;
    padding: 0 30px;
    cursor: pointer;
    i {
      transition: all .3s;
    }
  }
  &-sub {
    max-height: 0;
    overflow: hidden;
    transition: all .3s;
    a {
      display: block;
      line-height: 40px;
      padding: 0 30px;
      font-size: 14px;
      text-indent: 16px;
    }
  }
}

.info {
  border: 1px solid #F5F5F5;
  padding: 20px;
  .tel {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    img {
      height: 42px;
      width: auto;
      margin-right: 24px;
    }
    p {
      margin-bottom: 10px;
      font-size: 19px;
    }
    a {
      font-size: 28px;
      color: #0065b3;
    }
  }
  &-name {
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  &-desc div {
    padding: 10px 0;
    + div {
      border-top: 1px dotted #d5d5d5;
    }
  }
}

.content {
  flex: 1;
}

.case {
  &-list {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 60px;
  }
  &-item {
    display: flex;
    box-shadow: 0 0 15px 2px rgba(0, 0, 0, .2);
    padding: 30px;
    .img {
      width: 330px;
      height: 240px;
      margin-right: 50px;
    }
    img {
      height: 100%;
      width: 100%;
    }
  }
  &-info {
    flex: 1;
  }
  &-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  &-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 30px;
  }
  &-data {
    display: flex;
    gap: 30px;
    color: #666;
    span::before {
      margin-right: 5px;
    }
  }
}

@media screen and (max-width: 1400px) {
  .case {
    &-list {
      gap: 20px;
      padding: 20px;
    }
    &-item {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      padding: 10px;
      box-shadow: none;
      border: 1px solid #ddd;
      .img {
        width: 100%;
        height: initial;
        margin-right: 0;
      }
      img {
        height: auto;
      }
    }
    &-title {
      font-size: 18px;
      padding: 10px 0;
      line-height: 1.2;
      margin-bottom: 0;
    }
    &-desc {
      font-size: 12px;
      line-height: 20px;
      margin-bottom: 10px;
    }
    &-data span{
      font-size: 12px;
    }
  }
  .pagination {
    margin-bottom: 50px;
  }
}